package cn.neusoft;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//声明当前类是一个SpringBoot启动类
@SpringBootApplication
@MapperScan("cn.neusoft.mapper")
public class MyApplication {

    public static void main(String[] args) {

        //使用SpringBoot的启动类去运行Spring程序
        SpringApplication.run(MyApplication.class,args);
    }
}
